﻿<%@ Page Title="" Language="C#" MasterPageFile="../MasterPages/Admin.master" AutoEventWireup="true" CodeFile="AddInsuranceCompany.aspx.cs" Inherits="AppCode_Admin_AddInsuranceCompany" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div>
        <div style="width:700px; margin:0 auto; margin-left:300px;">
            <p style="font-size:19px; font-weight:bold; margin-top:40px; margin-left:35px; margin-bottom:20px;">Add Insurance Company Detail Form</p>
            <table style="border-spacing:30px 10px">
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label1" runat="server" Text="Company Name"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtName" runat="server" Height="25px" Width="170px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label5" runat="server" ForeColor="#CC0000" Text="    Company name id required"></asp:Label>
                        <asp:Label ID="Label9" runat="server" ForeColor="#CC0000" Text="    CompanyName is exist"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style3" style="margin-top:-20px">
                        <asp:Label ID="Label2" runat="server" Text="Address"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtAddress" runat="server" Height="43px" TextMode="MultiLine" Width="168px"></asp:TextBox></td>
                    <td class="auto-style1">
                        <asp:Label ID="Label6" runat="server" ForeColor="#CC0000" Text="    Address is required"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label3" runat="server" Text="Phone Number"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtPhone" runat="server" Height="25px" Width="170px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label7" runat="server" ForeColor="#CC0000" Text="    Phone number is required"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label4" runat="server" Text="Company Url"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtUrl" runat="server" Height="25px" Width="170px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label8" runat="server" ForeColor="#CC0000" Text="    Company url is required"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2"></td>
                    <td><asp:Button ID="btnAdd" runat="server" Text="Add"  CssClass="btnAdd" OnClick="btnAdd_Click" Height="30px" Width="80px"/></td>
                </tr>
                
            </table>
            <p style="color:red;margin-left:80px; font-weight:bold;" runat="server" id="success">Add insurance company successfully</p>
        </div>
    </div>
</asp:Content>

